package lib.bone.nepudata.dao;

import lib.bone.nepudata.domain.entity.NepuProperty;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Optional;

public interface NepuPropertyDAO extends JpaRepository<NepuProperty,String > {

    Boolean existsByPropertyDictId(String propertyDictId);

    List<NepuProperty> findByIdIn(List<String> ids);

    /**
     * 根据课题编码查询
     */
    Optional<NepuProperty> findByPropertyCode(String propertyCode);



}
